<template>
<div>
  <div class='nav'>
    <div class="input_view flex_ac" @click="$back()">
      <van-icon class="ml6" name="arrow-left" size="26" color="#000"/>
      <div class="nav_title">{{title}}</div>
    </div>
  </div>
  <div class="h40"></div>
</div>
</template>
<script>
export default {
  props:['title']
}
</script>
<style scoped lang="scss">
.nav{
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
  height: 40px;
	background-color: rgba($color: #fff, $alpha: 1);
	z-index: 10;
	transition: all 0.5s;
}
.input_view{
	width: 100%;
  height: 100%;
	.nav_title{
		font-weight: 500;
		font-size: 18px;
		color: #000;
	}
}
</style>